	<form action="index.php" method="post" id="config">
	<input type='hidden' name='ptype' value='{ptype}' />
	<input type='hidden' name='pfile' value='{pfile}' />
	<input type="hidden" name="action" value="update" />
	<div class="adminborder">
		<div class="adminhead">书籍阅读设置</div>

		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<strong>全文阅读</strong><br />
				<span class="smalltxt">如该功能被频繁使用，将会轻微加重服务器负担。</span>
			</div>
			<div style="width: 38%;">
				<label for="pfulltext_1"><input type="radio" name="pfulltext" id="pfulltext_1" value="1"<!-- IF C_fulltext=="1" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(1,1);" />开启</label> &nbsp;
				<label for="pfulltext_0"><input type="radio" name="pfulltext" id="pfulltext_0" value="0"<!-- IF C_fulltext=="0" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(0,1);" />关闭</label>
			</div>
		</div>
		<div class="b1" id="_S_H1"<!-- IF C_fulltext=="0" --> style="display: none;"<!-- ENDIF -->>
			<div style="width: 60%;padding-left: 1%;">
				 &nbsp;<strong>全文阅读对游客开放</strong><br />
				 &nbsp;<span class="smalltxt">当全文阅读开启时，启用该项将允许未登录用户使用全文阅读功能。</span>
			</div>
			<div style="width: 38%;">
				<label for="pfulltext_guest_1"><input type="radio" name="pfulltext_guest" id="pfulltext_guest_1" value="1"<!-- IF C_fulltext_guest=="1" --> checked='checked'<!-- ENDIF --> />开启</label> &nbsp;
				<label for="pfulltext_guest_0"><input type="radio" name="pfulltext_guest" id="pfulltext_guest_0" value="0"<!-- IF C_fulltext_guest=="0" --> checked='checked'<!-- ENDIF --> />关闭</label>
			</div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<strong>打包下载</strong><br />
				<span class="smalltxt">如该功能被频繁使用，将会轻微加重服务器负担。</span>
			</div>
			<div style="width: 38%;">
				<label for="pdownload_package_1"><input type="radio" name="pdownload_package" id="pdownload_package_1" value="1"<!-- IF C_download_package=="1" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(1,2);" />开启</label> &nbsp;
				<label for="pdownload_package_0"><input type="radio" name="pdownload_package" id="pdownload_package_0" value="0"<!-- IF C_download_package=="0" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(0,2);" />关闭</label>
			</div>
		</div>
		<div class="b1" id="_S_H2"<!-- IF C_download_package=="0" --> style="display: none;"<!-- ENDIF -->>
			<div style="width: 60%;padding-left: 1%;">
				 &nbsp;<strong>打包下载对游客开放</strong><br />
				 &nbsp;<span class="smalltxt">当打包下载开启时，启用该项将允许未登录用户使用打包下载功能。</span>
			</div>
			<div style="width: 38%;">
				<label for="pdownload_package_guest_1"><input type="radio" name="pdownload_package_guest" id="pdownload_package_guest_1" value="1"<!-- IF C_download_package_guest=="1" --> checked='checked'<!-- ENDIF --> />开启</label> &nbsp;
				<label for="pdownload_package_guest_0"><input type="radio" name="pdownload_package_guest" id="pdownload_package_guest_0" value="0"<!-- IF C_download_package_guest=="0" --> checked='checked'<!-- ENDIF --> />关闭</label>
			</div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<strong>TXT 下载</strong><br />
				<span class="smalltxt">如该功能被频繁使用，将会轻微加重服务器负担。</span>
			</div>
			<div style="width: 38%;">
				<label for="pdownload_text_1"><input type="radio" name="pdownload_text" id="pdownload_text_1" value="1"<!-- IF C_download_text=="1" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(1,3);" />开启</label> &nbsp;
				<label for="pdownload_text_0"><input type="radio" name="pdownload_text" id="pdownload_text_0" value="0"<!-- IF C_download_text=="0" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(0,3);" />关闭</label>
			</div>
		</div>
		<div class="b0" id="_S_H3"<!-- IF C_download_text=="0" --> style="display: none;"<!-- ENDIF -->>
			<div style="width: 60%;padding-left: 1%;">
				 &nbsp;<strong>TXT 下载对游客开放</strong><br />
				 &nbsp;<span class="smalltxt">当TXT 下载开启时，启用该项将允许未登录用户使用TXT 下载功能。</span>
			</div>
			<div style="width: 38%;">
				<label for="pdownload_text_guest_1"><input type="radio" name="pdownload_text_guest" id="pdownload_text_guest_1" value="1"<!-- IF C_download_text_guest=="1" --> checked='checked'<!-- ENDIF --> />开启</label> &nbsp;
				<label for="pdownload_text_guest_0"><input type="radio" name="pdownload_text_guest" id="pdownload_text_guest_0" value="0"<!-- IF C_download_text_guest=="0" --> checked='checked'<!-- ENDIF --> />关闭</label>
			</div>
		</div>

		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<strong>文字章节干扰码 - 版权内容</strong><br />
				<span class="smalltxt">设置在文字章节里面显示的干扰码中版权部分内容</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pdisturbtxt" value="{C_disturbtxt}" size='40' /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<strong>文字章节干扰码 - 版权内容出现频率</strong><br />
				<span class="smalltxt">设置在文字章节里面显示的干扰码中版权部分内容的频率分母。即设为3则为1/3频率。数值越高频率越小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pdisturbfreq" value="{C_disturbfreq}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<strong>文字章节干扰码 - 随机字符最大个数</strong><br />
				<span class="smalltxt">产生的随即干扰码字符的个数。最少为1，此处填写最大值。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pdisturbcharnum" value="{C_disturbcharnum}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<strong>文字章节干扰码 - 文字颜色</strong><br />
				<span class="smalltxt">设置在文字章节里面显示的干扰码颜色，设置为和背景一样。需要使用网页色而非RGB制式。请用颜色截取软件自行截取。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pdisturbcolor" value="{C_disturbcolor}" /></div>
		</div>


		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<strong>允许章节变图片</strong><br />
				<span class="smalltxt">开启该功能后，作家在书籍设置上会出现是否使用图片作为章节内容的设置。</span>
			</div>
			<div style="width: 38%;">
				<label for="pshowpic_1"><input type="radio" name="pshowpic" id="pshowpic_1" value="1"<!-- IF C_showpic=="1" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(1,4);" />开启</label> &nbsp;
				<label for="pshowpic_0"><input type="radio" name="pshowpic" id="pshowpic_0" value="0"<!-- IF C_showpic=="0" --> checked='checked'<!-- ENDIF --> onclick="javascript:showhide(0,4);" />关闭</label>
			</div>
		</div>
		<div id="_S_H4"<!-- IF C_showpic=="0" --> style="display: none;"<!-- ENDIF -->>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">阅读欢迎信息 - 文字内容:</span><br />
				<span class="smalltxt">显示在章节阅读图片上的右下角。“[rd8vip]”将被登录用户名自动替换。如果游客可读时则不显示。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pcopyright" value="{C_copyright}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">阅读欢迎信息 - 字体:</span><br />
				<span class="smalltxt">显示欢迎信息的字体大小。ttf文件，位于“data/font”目录下。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pcopyright_font" value="{C_copyright_font}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">阅读欢迎信息 - 字号:</span><br />
				<span class="smalltxt">显示欢迎信息的字体大小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pcopyright_size" value="{C_copyright_size}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">阅读欢迎信息 - 文字颜色:</span><br />
				<span class="smalltxt">显示欢迎信息的文字颜色。</span>
			</div>
			<div style="width: 38%;">
				<input name="pcopyright_color" id="pcopyright_color" type="text" maxlength="11" size="11" value="{C_copyright_color}" />
				<select onchange="javascript:$('#pcopyright_color').val(this.value);">
					<option value="{C_copyright_color}">&nbsp;恢复当前设置&nbsp;</option>
				<!-- BEGIN color -->
					<option value="{C_color}" style="background: {C_hexcolor};">&nbsp;{C_colorname}&nbsp;</option>
				<!-- END color -->
				</select>
			</div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">网站地址 - 文字颜色:</span><br />
				<span class="smalltxt">图片中部放置的网站地址的文字颜色。</span>
			</div>
			<div style="width: 38%;">
				<input name="psiteurl_color" id="psiteurl_color" type="text" maxlength="11" size="11" value="{C_siteurl_color}" />
				<select onchange="javascript:$('#psiteurl_color').val(this.value);">
					<option value="{C_siteurl_color}">&nbsp;恢复当前设置&nbsp;</option>
				<!-- BEGIN color -->
					<option value="{C_color}" style="background: {C_hexcolor};">&nbsp;{C_colorname}&nbsp;</option>
				<!-- END color -->
				</select>
			</div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">网站地址 - 字号:</span><br />
				<span class="smalltxt">图片中部放置的网站地址的字体大小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="psiteurl_size" value="{C_siteurl_size}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">网站地址 - 字号:</span><br />
				<span class="smalltxt">图片中部放置的网站地址的倾斜度。水平方向逆时针度数。一般为“30”即可。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="psiteurl_angle" value="{C_siteurl_angle}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">网站地址 - 字体:</span><br />
				<span class="smalltxt">ttf文件，位于“data/font”目录下。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="psiteurl_font" value="{C_siteurl_font}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">网站地址 - 重复次数:</span><br />
				<span class="smalltxt">在每张图片中斜30度重复的网站地址次数。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="psiteurl_repeat" value="{C_siteurl_repeat}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 每行字数:</span><br />
				<span class="smalltxt">章节图片阅读时，每行显示的字数。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pline" value="{C_line}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 字体:</span><br />
				<span class="smalltxt">章节图片阅读时，显示的字体。ttf文件，位于“data/font”目录下。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pfont" value="{C_font}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 字号:</span><br />
				<span class="smalltxt">章节图片阅读时，显示的字体大小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="psize" value="{C_size}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 行间距:</span><br />
				<span class="smalltxt">章节图片阅读时，不同行之间的行间距大小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="plineheight" value="{C_lineheight}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 段落换行数目:</span><br />
				<span class="smalltxt">章节图片阅读时，段落换行除了正常换行外还需要增加几个换行符。默认为1个。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pbrnum" value="{C_brnum}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 背景颜色:</span><br />
				<span class="smalltxt">章节图片阅读时，图片背景色。</span>
			</div>
			<div style="width: 38%;">
				<input name="pbackground" id="pbackground" type="text" maxlength="11" size="11" value="{C_background}" />
				<select onchange="javascript:$('#pbackground').val(this.value);">
					<option value="{C_background}">&nbsp;恢复当前设置&nbsp;</option>
				<!-- BEGIN color -->
					<option value="{C_color}" style="background: {C_hexcolor};">&nbsp;{C_colorname}&nbsp;</option>
				<!-- END color -->
				</select>
			</div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 背景颜色透明度:</span><br />
				<span class="smalltxt">0 为完全不透明，127 为完全透明。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pbackground_alpha" value="{C_background_alpha}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节阅读 - 文字颜色:</span><br />
				<span class="smalltxt">章节图片阅读时，显示文章的颜色。</span>
			</div>
			<div style="width: 38%;">
				<input name="pcolor" id="pcolor" type="text" maxlength="11" size="11" value="{C_color}" />
				<select onchange="javascript:$('#pcolor').val(this.value);">
					<option value="{C_color}">&nbsp;恢复当前设置&nbsp;</option>
				<!-- BEGIN color -->
					<option value="{C_color}" style="background: {C_hexcolor};">&nbsp;{C_colorname}&nbsp;</option>
				<!-- END color -->
				</select>
			</div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节防盗水印 - 字体:</span><br />
				<span class="smalltxt">章节图片防盗水印显示的字体大小(实际上即ID颜色)。ttf文件，位于“data/font”目录下。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pmark_font" value="{C_mark_font}" /></div>
		</div>
		<div class="b0">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节防盗水印 - 字号:</span><br />
				<span class="smalltxt">章节图片防盗水印显示的字体大小。</span>
			</div>
			<div style="width: 38%;"><input type="text" name="pmark_size" value="{C_mark_size}" /></div>
		</div>
		<div class="b1">
			<div style="width: 60%;padding-left: 1%;">
				<span style="font-weight: bold;">章节防盗水印 - 颜色:</span><br />
				<span class="smalltxt">章节图片防盗水印的颜色。建议尽量与背景色相近，但务必不要相同。</span>
			</div>
			<div style="width: 38%;">
				<input name="pmark_color" id="pmark_color" type="text" maxlength="11" size="11" value="{C_mark_color}" />
				<select onchange="javascript:$('#pmark_color').val(this.value);">
					<option value="{C_mark_color}">&nbsp;恢复当前设置&nbsp;</option>
				<!-- BEGIN color -->
					<option value="{C_color}" style="background: {C_hexcolor};">&nbsp;{C_colorname}&nbsp;</option>
				<!-- END color -->
				</select>
			</div>
		</div>
		</div>


		<div class="bt"><input type="submit" value=" 提 交 " /> &nbsp; &nbsp;<input type="reset" value=" 重 置 " /></div>
	</div>
	</form>
